export type ListParam = {
  nameSpace: string;
};

export interface MetricItem {
  metricName: string;
  metricId: string;
}

export type MetricParams = {
  metricNamespace: string;
  clusterId: string;
};

export type MonitorParams = {
  namespace: string;
  dimensionValue: string;
  metrics: string[];
  cesStartTime: string;
  cesEndTime: string;
  aomTimeRange: string;
  period: string;
  container: any[];
  cesFilter: string;
  sampleCount: string;
};

export interface MonitorItem {
  time: string[];
  value: string[];
  unit: string;
  maxValue: string;
  minValue: string;
  metricName: string;
  displayName: string;
}

export interface SummeryItem {
  tenants: string;
  subscribedApps: string;
  databases: string;
  namespaces: string;
  deployments: string;
  apps: string;
  services: string;
  ecs: string;
  users: string;
  orgCounts: string;
}

export type NodeParams = {
  clusterId: string;
};

export type DeploymentParams = {
  nameSpace: string;
};
